package com.woniuxy.threeprojcet.end_water_project_admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账号表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wn_account")
public class Account implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 账户id
     */
    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;

    /**
     * 账号
     */
    private Long account;

    /**
     * 密码
     */
    @TableField("PASSWORD")
    private String password;

    /**
     * 等级 |0 普通用户|1 后台管理员|
     */
    @TableField("Grade")
    private Integer Grade;

    /**
     * 状态 | 0 正常状态 1停表状态
     */
    private String state;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;


}
